package com.yugao.fintech.antelope.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yugao.fintech.antelope.shop.model.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * 商品
 *

 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

    IPage<Goods> pageStoreGoods(IPage<Object> page,
                                @Param("beginTime")LocalDateTime beginTime,
                                @Param("endTime") LocalDateTime endTime,
                                @Param("keyword") String keyword,
                                @Param("tenantId") Long tenantId);
}
